package com.zheng.wechat.mp.dao.mapper;

import com.zheng.wechat.mp.dao.model.WechatMpNewstemplate;
import com.zheng.wechat.mp.dao.model.WechatMpNewstemplateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WechatMpNewstemplateMapper {
    long countByExample(WechatMpNewstemplateExample example);

    int deleteByExample(WechatMpNewstemplateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WechatMpNewstemplate record);

    int insertSelective(WechatMpNewstemplate record);

    List<WechatMpNewstemplate> selectByExample(WechatMpNewstemplateExample example);

    WechatMpNewstemplate selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WechatMpNewstemplate record, @Param("example") WechatMpNewstemplateExample example);

    int updateByExample(@Param("record") WechatMpNewstemplate record, @Param("example") WechatMpNewstemplateExample example);

    int updateByPrimaryKeySelective(WechatMpNewstemplate record);

    int updateByPrimaryKey(WechatMpNewstemplate record);
}